Technical Q&ATB43 - Drag Manager: Promising and Tracking (7-December-98)Q: Well, I'm losing it. DTSers are supposed to become omniscient and, therefore, never need to ask questions once they leave, but I guess I didn't stay long enough.
We all know how much fun it is to debug Drag Manager problems, and this
one is no exception. I'm calling
A: My guess is that you are attempting to obtain flavor data during your
drag tracking handler. When the data is promised ("Drag data is always
set by passing nil for the data pointer to
Well, the problem has to do with drop locations and caching. Once the
data has been obtained, it is cached in the If you want to ask for the data inside your tracking handler, you'll have to make sure the sender does not promise the data you care about. Since that is not practical when you are interacting with apps you can't revise, what you really have to do is restructure your code so that it does not need the data during its tracking handler.
-- Pete Gontier Worldwide Developer Technical Support Technical Q&As | Contents Previous Question | Next Question To contact us, please use the Contact Us page. |